package com.etc.entity;

import lombok.Data;

import java.util.List;

@Data
public class User {
    private  int id;
    private String username;
    private int userage;
    private  String usersex;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getUserage() {
        return userage;
    }

    public void setUserage(int userage) {
        this.userage = userage;
    }

    public String getUsersex() {
        return usersex;
    }

    public void setUsersex(String usersex) {
        this.usersex = usersex;
    }

    public List<Student> getStudent() {
        return student;
    }

    public void setStudent(List<Student> student) {
        this.student = student;
    }

    private List<Student>  student;

    public User() {
    }

    public User(int id, String username, int userage, String usersex, List<Student> student) {
        this.id = id;
        this.username = username;
        this.userage = userage;
        this.usersex = usersex;
        this.student = student;
    }
}



